# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
pkgname=uwsgitop
pkgver=0.11
pkgrel=6
pkgdesc="uWSGI top-like app"
arch=('any')
url="https://github.com/xrmx/uwsgitop"
license=('MIT')
depends=('python-simplejson')
makedepends=('python-setuptools')
options=(!emptydirs)
source=("$pkgname-$pkgver.tar.gz::https://github.com/xrmx/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('bf75ce3b3a781f1ffd2b9bc75577808338dbd9e34dae8248b5fe89ce5989b4240bb11cb6132c95f081fc8b2fef4cd5cdacd5d9b421552ce7f87c9ae79a317d59')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
}

# vim:set ts=2 sw=2 et:
